import React from 'react';
import ScannerScreen from './ScannerScreen'
import HomeScreen from './HomeScreen';
import {createAppContainer } from 'react-navigation';
import {createStackNavigator} from 'react-navigation-stack';

const AppNavigator = createStackNavigator({
    Home: HomeScreen,
    Scanner: ScannerScreen,
}, {
    initialRouteName: 'Home',
});

export default createAppContainer(AppNavigator);